﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MainFrm.Master" AutoEventWireup="true" CodeBehind="InstorageManager.aspx.cs" Inherits="Ewts.Storage.InstorageManager" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
<%--
<link rel="stylesheet" href="/css/tab4.css" type="text/css" />
         <link type="text/css" href="/css/autocomplete.css" rel="stylesheet" />
         <script type="text/javascript" src="/jquery/jquery.autocomplete.js"></script>
         <link type="text/css" href="/css/tab1.css" rel="stylesheet" />--%>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="EwtsConext" runat="server">
<h2>入库维护</h2>
<br />
    <!--一个表单-->
    处理地：
    <asp:DropDownList ID="dropGraphic" runat="server" CssClass="dropGraphic" >
        <asp:ListItem Text="全部" Value="" Selected="True"></asp:ListItem>
    </asp:DropDownList>

      <!--一个表单-->
   归属地：
    <asp:DropDownList ID="dropBelong" runat="server" CssClass="dropBelong" >
        <asp:ListItem Text="全部" Value="" Selected="True"></asp:ListItem>
    </asp:DropDownList>
<div class="shadow"> 
<table id="tab_1" class="display" cellpadding="0" cellspacing="0" border="0" style="width:100%;">
<thead>
<tr>
    <th>序号</th>
    <th>LoadNum</th>
    <th>CJO</th>
    <th>入库单号</th>
    <th>归属地</th>
    <th>处理地</th>
    <th>客户名称</th>
    <th>入库总重量</th>
    <th>入库日期</th>
   <th>操作</th>
</tr>
</thead>
<%--<tbody>
    <asp:Repeater ID="rept" runat="server">
    <ItemTemplate>
    <tr>
        <td><%# Container.ItemIndex + 1 %></td>
        <td><%# Eval("loadnumv")%></td>
        <td><%# Eval("Wrlno")%></td>
        <td><%# Eval("cumname")%></td>
        <td><%# Eval("totalnwt")%></td>
        <td><%# Eval("instoragetime")%></td>
        <td>
            <a href='<%# Eval("rdlcurl") %>' >单据重打</a>
            <a href='<%# Eval("updateurl")%>' >数据维护</a>
        </td>
    </tr> 
    </ItemTemplate>
    </asp:Repeater>
</tbody>--%>
</table>
</div>
 <script type="text/javascript">

   


     $(document).ready(function () {

         var mtable = $('#tab_1').dataTable({ "oLanguage": { "sUrl": "/jquery/jquery.dataTable.cn.txt" },
             "bJQueryUI": true,
             "sPaginationType": "full_numbers",
             'bPaginate': true,
             "bProcessing": true,
             "iDisplayLength": 25,
             "bDestory": true,
             "columns": [
                 { "data": "rowno" },
                 { "data": "loadnumv" },
                 { "data": "cjono" },
                 { "data": "wrlno" },
                 { "data": "bcity" },
                 { "data": "gcity" },
                 { "data": "cumname" },
                 { "data": "totalnwt" },
                 { "data": "instoragetime" },
                 { "data": "operurl" }
             ],
             "sAjaxSource": "/ashx/pageJuqery.ashx?pagetype=im&bcity=" + encodeURI($(".dropBelong").val()) + "&gcity=" + encodeURI($(".dropGraphic").val()),
             "bServerSide": true
         });

         $('.dropGraphic').change(function () {
             mtable.fnReloadAjax("/ashx/pageJuqery.ashx?pagetype=im&bcity=" + encodeURI($(".dropBelong").val()) + "&gcity=" + encodeURI($(".dropGraphic").val()));
         });

         $('.dropBelong').change(function () {
             mtable.fnReloadAjax("/ashx/pageJuqery.ashx?pagetype=im&bcity=" + encodeURI($(".dropBelong").val()) + "&gcity=" + encodeURI($(".dropGraphic").val()));
         });

     });     
 </script>

</asp:Content>
